package com.lifesea.dao.mybatis;

import com.lifesea.model.MedSource;
import com.lifesea.model.MedSourceExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface MedSourceMapper {
    int countByExample(MedSourceExample example);

    int deleteByExample(MedSourceExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(MedSource record);

    int insertSelective(MedSource record);

    List<MedSource> selectByExample(MedSourceExample example);

    MedSource selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") MedSource record, @Param("example") MedSourceExample example);

    int updateByExample(@Param("record") MedSource record, @Param("example") MedSourceExample example);

    int updateByPrimaryKeySelective(MedSource record);

    int updateByPrimaryKey(MedSource record);
}